package com.qiangqiang.enums;

import lombok.Getter;

/**
 * Created by q on 2018/2/5.
 */
@Getter
public enum StudentEnum {
    SID_NOT_EXIST(1,"学号不存在"),
    SID_NOT_DORMITORY(2,"该学生没有匹配宿舍"),
    NAME_NOT_EXIST(3,"姓名不存在"),
    DELETE_STUDENT_SUCCESS(4,"成功删除该学生")
    ;
    private Integer code;
    private String message;

    StudentEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
